/**
  *Created by caojie on 16/3/25.
 **/


var tableName = 'park_access_info';
var user = {
    insert: 'INSERT INTO '+tableName+' (user_id,park_id,mark,context,praise,time,user_nickname) VALUES(',
    update: 'update '+tableName+' set praise=praise+1 where user_id=',

    queryAll: 'select * from '+tableName+'',
    queryByCondition: 'select * from '+tableName+' where '
};

module.exports = user;
